package com.ninja.pojo.config;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

public class Configuration {
    //数据源
    private DataSource DataSource;
    //key :statementId value:MappedStatement
    private Map<String,MappedStatement> mappedStatementMap = new HashMap<>();;

    public DataSource getDataSource() {
        return DataSource;
    }

    public void setDataSource(javax.sql.DataSource dataSource) {
        DataSource = dataSource;
    }

    public Map<String, MappedStatement> getMappedStatementMap() {
        return mappedStatementMap;
    }

    public void setMappedStatementMap(Map<String, MappedStatement> mappedStatementMap) {
        this.mappedStatementMap = mappedStatementMap;
    }
}
